<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="">
<meta name="author" content="">
<title>M.B.F 记忆沙漏</title>


<!-- css -->
<link rel="stylesheet" href="stylesheets/bootstrap.min.css">
	<link rel="stylesheet" href="stylesheets/common.css">
<link rel="stylesheet" href="stylesheets/login.css">
<link rel="stylesheet" href="stylesheets/font/font-awesome.min.css">
<link rel="Shortcut Icon" href="images/MBF_logo.ico" type="image/x-icon">
</head>

<body>
<div class="container">
	<div class="login_box" ng-app="myRegister" ng-controller="myRegisterCtrl">
		<p>欢迎您加入 <b>M.B.F</b> 大家庭</p>
		<form>
			<input style="margin-bottom: 10px;width:130px;display:inline" maxlength = "11" type="text" class="form-control phone_text" placeholder="手机号码" ng-model="user.userid" ng-change="useridChanged()">
			<input type="button" class = "phone_btn"  id="btn"  value="获取验证码" ng-disabled="getCode.disabled" ng-click="getCodeClick();"/>
 			<input style="margin-bottom: 10px" maxlength = "6" type="text" class="form-control" placeholder="验证码" ng-model="user.phone_code">
			<input style="margin-bottom: 10px" type="password" class="form-control" maxlength = "20" placeholder="设置密码" ng-model="user.password">
			<div style="font-size:10px;color:red;height:30px;margin-top:-5px">{{info}}</div>
			<div style="margin-bottom: 6px" class="checkbox fl"><label><input type="checkbox" id = "checkbox_read" ng-model="canRegister">已阅读</label><a href="/agreement">《M.B.F用户使用协议》</a></div>
			<button class="btn btn-block login_btn" id = "btn2" ng-click="register();" ng-disabled="!canRegister">确认注册/Confirm registration</button>
		</form>
	</div>
</div>
<!-- js -->
<script src="javascripts/jquery-1.11.2.min.js"></script>
<script src="javascripts/bootstrap.min.js"></script>
<script src="javascripts/bootstrap-submenu.min.js"></script>
<script src="javascripts/angular-1.3.0.js"></script>
<script src="javascripts/myjs.js"></script>
<script src="javascripts/register.js"></script>
</body>
</html>
